<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/KnihotocWcfService" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/KnihotocWcfService" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:3059/BookCachingService.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" />
  <xs:complexType name="Event">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q1:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Book" nillable="true" type="tns:Book" />
          <xs:element minOccurs="0" name="BookRef" type="xs:int" />
          <xs:element minOccurs="0" name="BookReference" nillable="true" type="q1:EntityReferenceOfBookx_SX2u41B" />
          <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="EventType" nillable="true" type="tns:EventType" />
          <xs:element minOccurs="0" name="EventTypeRef" type="xs:int" />
          <xs:element minOccurs="0" name="EventTypeReference" nillable="true" type="q1:EntityReferenceOfEventTypex_SX2u41B" />
          <xs:element minOccurs="0" name="ID" type="xs:int" />
          <xs:element minOccurs="0" name="Lat" nillable="true" type="xs:float" />
          <xs:element minOccurs="0" name="Lon" nillable="true" type="xs:float" />
          <xs:element minOccurs="0" name="Time" type="xs:dateTime" />
          <xs:element minOccurs="0" name="User" nillable="true" type="tns:User" />
          <xs:element minOccurs="0" name="UserRef" type="xs:int" />
          <xs:element minOccurs="0" name="UserReference" nillable="true" type="q1:EntityReferenceOfUserx_SX2u41B" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Event" nillable="true" type="tns:Event" />
  <xs:complexType name="Book">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q2="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q2:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Author" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="BookState" type="xs:int" />
          <xs:element minOccurs="0" name="BookState1" nillable="true" type="tns:BookState" />
          <xs:element minOccurs="0" name="BookState1Reference" nillable="true" type="q2:EntityReferenceOfBookStatex_SX2u41B" />
          <xs:element minOccurs="0" name="CurrentUserRef" nillable="true" type="xs:int" />
          <xs:element minOccurs="0" name="Event" nillable="true" type="tns:ArrayOfEvent" />
          <xs:element minOccurs="0" name="ID" type="xs:int" />
          <xs:element minOccurs="0" name="ISBN" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ImageLink" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Lat" nillable="true" type="xs:float" />
          <xs:element minOccurs="0" name="Lon" nillable="true" type="xs:float" />
          <xs:element minOccurs="0" name="OwnerRef" type="xs:int" />
          <xs:element minOccurs="0" name="PlaceRef" nillable="true" type="xs:int" />
          <xs:element minOccurs="0" name="Places" nillable="true" type="tns:Places" />
          <xs:element minOccurs="0" name="PlacesReference" nillable="true" type="q2:EntityReferenceOfPlacesx_SX2u41B" />
          <xs:element minOccurs="0" name="Title" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="User" nillable="true" type="tns:User" />
          <xs:element minOccurs="0" name="User1" nillable="true" type="tns:User" />
          <xs:element minOccurs="0" name="User1Reference" nillable="true" type="q2:EntityReferenceOfUserx_SX2u41B" />
          <xs:element minOccurs="0" name="UserReference" nillable="true" type="q2:EntityReferenceOfUserx_SX2u41B" />
          <xs:element minOccurs="0" name="YearPublished" nillable="true" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Book" nillable="true" type="tns:Book" />
  <xs:complexType name="BookState">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q3="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q3:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Book" nillable="true" type="tns:ArrayOfBook" />
          <xs:element minOccurs="0" name="ID" type="xs:int" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="BookState" nillable="true" type="tns:BookState" />
  <xs:complexType name="ArrayOfBook">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Book" nillable="true" type="tns:Book" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfBook" nillable="true" type="tns:ArrayOfBook" />
  <xs:complexType name="ArrayOfEvent">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Event" nillable="true" type="tns:Event" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfEvent" nillable="true" type="tns:ArrayOfEvent" />
  <xs:complexType name="Places">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q4="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q4:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Address" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Book" nillable="true" type="tns:ArrayOfBook" />
          <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ID" type="xs:int" />
          <xs:element minOccurs="0" name="Lat" type="xs:float" />
          <xs:element minOccurs="0" name="Lon" type="xs:float" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Places" nillable="true" type="tns:Places" />
  <xs:complexType name="User">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q5="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q5:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Book" nillable="true" type="tns:ArrayOfBook" />
          <xs:element minOccurs="0" name="Book1" nillable="true" type="tns:ArrayOfBook" />
          <xs:element minOccurs="0" name="Borrowed" nillable="true" type="xs:int" />
          <xs:element minOccurs="0" name="Email" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Event" nillable="true" type="tns:ArrayOfEvent" />
          <xs:element minOccurs="0" name="FirstName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Found" nillable="true" type="xs:int" />
          <xs:element minOccurs="0" name="ID" type="xs:int" />
          <xs:element minOccurs="0" name="ImageLink" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Password" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="SurName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="UserName" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="User" nillable="true" type="tns:User" />
  <xs:complexType name="EventType">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q6="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q6:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Event" nillable="true" type="tns:ArrayOfEvent" />
          <xs:element minOccurs="0" name="ID" type="xs:int" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="EventType" nillable="true" type="tns:EventType" />
  <xs:complexType name="ArrayOfPlaces">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Places" nillable="true" type="tns:Places" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfPlaces" nillable="true" type="tns:ArrayOfPlaces" />
</xs:schema>